package com.Logistics.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("pd_auth_user")
public class    User2  implements Serializable {
    private static final long serialVersionUID = -1967779948776934519L;
    private String id;
    private String account;//账号
    private String name;//姓名
    private String org_id;//组织ID
    private String station_id;//岗位ID
    private String email;//邮箱
    private String mobile;//手机
    private String sex;//性别Sex{W:女;M:男;N:未知}
    private Integer status;//启用状态 1启用 0禁用
    private String avatar;//头像名字
    private String work_describe;//工作描述
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date password_error_last_time;//最后一次输错密码时间
    private int password_error_num;//密码错误次数
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date password_expire_time;//密码过期时间
    private String password;//密码
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date last_login_time;//最后登录时间
    private String create_user;//创建人id
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date create_time;//创建时间
    private String update_user;//更新人id
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date update_time;//更新时间

}
